package com.systar.activity.parse;

import java.util.concurrent.Callable;

import com.google.common.eventbus.EventBus;
import com.systar.activity.state.FileActivity;

public abstract class FileParser implements Callable<Integer>
{
	protected final FileActivity activity;
	protected final EventBus eventBus;
	protected static final int SUBMIT_TRIGGER = 100;
	protected int nbInfo;
	protected int nbWarn;
	protected int nbErr;

	protected FileParser(FileActivity activity, EventBus eventBus)
	{
		this.activity = activity;
		this.eventBus = eventBus;
		nbInfo = nbWarn = nbErr = 0;
	}

}
